Backup Exec 2010 Desktop Uninstall BruteForceFix Fixlet

Target OS: Windows 7 x64

Purpose: to help resolve problems with Backup Exec 2010 sp3 Live Update (which caused issues on x64 machines), the cause of which seems to be an error in the Backup Exec 2010 Desktop sp2 uninstall process. (v9.0.2.37914)

 

Description:

This task will Uninstall BESR 2010 - BruteForceFix. This fixlet uses the Symantec provided UninstallBESR2010.bat Found Here: http://www.symantec.com/business/support/index?page=content&id=TECH76289

 

This will fix the uninstall issues with BESR 2010 sp2 which is version number 9.0.2



This task is applicable on: Windows XP x64, Windows Vista x64 and Windows 7 x64.

 

 

Relevance 1:

(name of it = "WinXP-2003" OR (name of it = "WinVista" AND product type of it = nt workstation product type AND x64 of it) OR (name of it = "Win7" AND x64 of it)) of operating system

 

Relevance 2:

Exists key whose (value "displayname" of it as string contains "Symantec Backup Exec System Recovery 2010" of it and value "uninstallstring" of it as string as lowercase contains "msiexec") of key"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of registry

 

 

Action 1:

download http://bes.win.psu.edu:52311/Uploads/d91a2d1a3cf6d241a5473f71d393bcda339ded0a/UninstallBESR2010.tmp
continue if {(size of it = 81326 AND sha1 of it = "d91a2d1a3cf6d241a5473f71d393bcda339ded0a") of file "UninstallBESR2010.tmp" of folder "__Download"}

//Found Here: http://www.symantec.com/business/support/index?page=content&id=TECH76289
// Download from above URL
// Extract files into a folder called "UninstallBESR2010" from the ZIP archive
// Use the BigFix/TEM Windows Software Deploy Wizard to Upload this folder to the BigFix/TEM Server
// Enter 'cmd /C UninstallBESR2010.bat -I "C:\Program Files (x86)\Symantec\Backup Exec System Recovery\"' as the install command
// You may change the "wait" to "waithidden" (or just change it to the below)
// Update the relevance to match this Fixlet (target the presense of BESR 2010)

extract UninstallBESR2010.tmp

// IMPORTANT NOTE: the folder path is hard coded into this action because this fixlet targets x64 bit Windows ONLY!
//                    This fixlet could be used on x86 bit Windows with some modifications

//Need to create the folder "C:\Program Files (x86)\Symantec\Backup Exec System Recovery\"" if it does not exist
if {not exists folder "C:\Program Files (x86)\Symantec\Backup Exec System Recovery\"}
	dos mkdir "C:\Program Files (x86)\Symantec\Backup Exec System Recovery\"
endif

//Need to remove the "PAUSE" from the next to last line of UninstallBESR2010.bat, otherwise the execution will never end.
delete __appendfile
appendfile {concatenation "%0a%0d" of lines whose (it does not contain "PAUSE") of file "__Download\UninstallBESR2010.bat"}
copy __appendfile UninstallBESR2010.bat
//If the folder "C:\Program Files (x86)\Symantec\Backup Exec System Recovery\"" does not exist, then the uninstaller will fail.
continue if {exists folder "C:\Program Files (x86)\Symantec\Backup Exec System Recovery\"}

//Need to delete LUReg.exe from the current working directory in case it already exists
delete LUReg.exe
//Need to copy LUReg.exe to the current working directory
copy __Download\LUReg.exe LUReg.exe
// Execute the brute force uninstall of BESR 2010
waithidden UninstallBESR2010.bat -I "C:\Program Files (x86)\Symantec\Backup Exec System Recovery\"
//Need to delete LUReg.exe
delete LUReg.exe
delete __appendfile
delete UninstallBESR2010.bat
//Need to restart machine to remove Reg Entries
action requires restart​

 

References:

 
Symantec Brute-Force Uninstaller: http://www.symantec.com/business/support/index?page=content&id=TECH76289